<%-- 
    Document   : header
    Created on : 2-sep-2011, 11:37:49
    Author     : fgo
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>jShopper</title>
        <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/style/style.css" />
        <script type="text/javascript" src="<%= request.getContextPath()%>/style/jquery-1.6.4.min.js"></script>
    </head>
    <body>
        <div id="header">
            <h1>jShopper</h1>
            <div id="menu">
                <a href="<%= request.getContextPath()%>">Home</a>
                <c:if test="${admin}">
                    <a href="<%= request.getContextPath()%>/mvc/admin">Admin</a>
                </c:if>
                <a href="<%= request.getContextPath()%>/mvc/logout">Logout</a>
            </div>
        </div>
        <div id="body">